package com.baizhi.service;


import com.baizhi.entity.Result;
import com.baizhi.pojo.Count;
import com.baizhi.pojo.Goods;
import com.baizhi.entity.PageResult;
import com.baizhi.entity.QueryPageBean;

import java.util.List;

public interface GoodsService {


  /*  PageResult selectGoodsByPage(Integer page, Integer rows);

    Integer insertGoods(Goods goods);

    Integer deleteGoodsById(Long id);*/

     PageResult findPage(QueryPageBean queryPageBean);

    void insertGoods(Goods goods);

    Goods findById(Long id);

    Integer edit(Goods goods);

    Integer delete(Long id);

    Integer editStatus(Long id, Integer status);

    Integer updateStatusAndBecause(Integer id, Integer status, String b);

    List<Count> count();

}
